package com.uestc.service;

import java.util.List;
import java.util.Map;

import com.uestc.pojo.News;
import com.uestc.pojo.Part;
import com.uestc.pojo.TrainingList;

public interface IPageService {

	Map<String, List<News>> selectNewsForIndex();

	List<News> selectfocusNewsForIndex();

	News selectNext(Long categoryId,String id);
	
	News selectPrevious(Long categoryId,String id);

	Part selectPartyNext(Long id);

	Part selectPartyPrevious(Long id);

	TrainingList selectTrainingNext(Integer parentId,Integer id);

	TrainingList selectTrainingPrevious(Integer parentId, Integer id);

}
